@font-face {
  font-family: 'Zpix';
  src: url(/fonts/Zpix.ttf?783bb457ed9b3294fe72f4b4bc9358a9) format('truetype');
  font-weight: normal;
  font-style: normal;
}
body,
code,
html,
kbd,
pre,
samp {
  font-family: "Press Start 2P";
}
body {
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
  position: relative;
}
img.mw-img {
  max-width: 100%;
  display: inline-block;
}
img.mc-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border: none;
  margin: 0;
}
svg {
  width: 100%;
  height: 100%;
}
.center {
  text-align: center;
}
.pos-center {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.close-btn {
  position: fixed;
  top: 0;
}
.fixed-box {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.container {
  max-width: 640px;
  min-width: 320px;
  margin: 0 auto;
  height: 100vh;
  overflow: scroll;
}
.container .number-text {
  position: fixed;
  top: 0;
  z-index: 1;
  left: 70vw;
}
.container .upload-btn {
  display: inline-block;
  width: 200px;
}
.container .form-el {
  width: 100%;
}
.container .form-el .form-control {
  width: 100%;
  padding-top: 20px;
}
.preview-make-btn {
  position: fixed;
  top: 34px;
  left: 70vw;
}
#result-container {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: scroll;
  background-color: #000;
  z-index: 5;
}
#preview-container .preview-image {
  font-size: 0;
  display: block;
}
#preview-container .preview-text {
  font-size: 30px;
  color: #111;
  z-index: 1;
  touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: absolute;
  top: 0;
  transform: translate(0, 0);
  display: inline-block;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  border: 1px solid #000;
}
#preview-container .preview-text.no-border {
  border: none;
}
#preview-container .preview-text #scale-element {
  display: block;
  max-width: 100%;
  margin: auto;
  touch-action: none;
  white-space: nowrap;
}
#app {
  position: static;
  display: none;
}
.result-box {
  display: none;
  z-index: 3;
}
.tips {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #333;
}
.tips p {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 6px;
  border-radius: 4px;
}
.close,
.upload,
.save {
  position: absolute;
  right: 15px;
  width: 56px;
  height: 56px;
  line-height: 56px;
  padding: 0;
  font-size: 0.875rem;
  min-width: 0;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  min-height: 36px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 500;
  border-radius: 50%;
  letter-spacing: 0.02857em;
  text-transform: uppercase;
  color: #fff;
  background-color: #1976d2;
  text-align: center;
}
.close {
  top: 20px;
}
.upload {
  bottom: 100px;
}
.save {
  display: none;
  bottom: 20px;
}
